package com.bcqn.dao;

import com.bcqn.model.Position;
import com.bcqn.model.vo.JobQueryObj;

import java.util.List;

public interface PositionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Position record);

    int insertSelective(Position record);

    Position selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Position record);

    int updateByPrimaryKeyWithBLOBs(Position record);

    int updateByPrimaryKey(Position record);

    //查询职场的职位列表信息(含分页)
    List<Position> getPosInfoByPage(JobQueryObj jobQueryObj);

    //查询出对应的职位列表的相关的信息列表
    List<Position> selectTpyeList();

    List<Position> getMyCollection(Long userId);

    List<Position> getMyPost(Long userId);

    List<Position> getMyDelivery(Long userId);
}